#include "boundary.h"
namespace SPLINTER
{
    namespace BoundaryHelper
    {
        const char *convertBoundaryString(Boundary boundary)
        {
            switch (boundary)
            {
            case Boundary::NATURAL:
                return "natural";
                break;
            case Boundary::COMPLETE:
                return "complete";
                break;
            case Boundary::NOT_A_KNOT:
                return "not-a-knot";
                break;
            case Boundary::SECOND_DERIVATIVES_AT_END:
                return "second-derivatives-at-end";
                break;
            case Boundary::PERIODIC:
                return "periodic";
                break;
            default:
                break;
            }
            return "";
        }
    }
} // namespace SPLINTER